package com.yuexunit.finance.news.service;

import java.util.List;

import com.yuexunit.finance.news.entity.NewsContentEntity;
import com.yuexunit.finance.news.entity.NewsEntity;
import com.yuexunit.page.PageCriteria;
import com.yuexunit.page.PageList;

/**
 * Created by HuangYH on 2015/9/21.
 */
public interface NewsService {

	/** 创建资讯信息 */
	public Long createNews(NewsEntity newsEntity);

	/** 更新资讯信息 */
	public void updateNews(NewsEntity newsEntity);

	/** 逻辑删除资讯信息 */
	public void disableNews(Long newsId);

	/** 推荐资讯信息 */
	public void recommendNews(Long newsId);

	/** 取消推荐资讯信息 */
	public void disableRecommendNews(Long newsId);

	/** 资讯明细 */
	public NewsEntity inquireNewsDetail(Long newsId);

	/** 资讯明细 */
	public NewsEntity inquireNews(Long newsId);

	/** 资讯内容列表 */
	public List<NewsContentEntity> inquireNewsContentList(Long newsId);

	/** 资讯信息列表 */
	public PageList<NewsEntity> inquireNewsPageList(Long newsCategoryId, Boolean recommend, String newsTitle, String publisher, PageCriteria page, String issueDateFromTime, String issueDateToTime, boolean all);

	/** 获取帮助文档 */
	public PageList<NewsEntity> inquireHelpPageList(String content, PageCriteria page);

}
